package com.daocao.hua.model;

import java.util.List;

/**
 * 线下支付数据模型
 */
public class OfflinePaymentModel extends ResponseModel {

    private Alipay Alipay;
    private Bankcard Bankcard;
    private OfficePayDescription OfficePayDescription;

    public OfficePayDescription getOfficePayDescription() {
        return OfficePayDescription;
    }

    public void setOfficePayDescription(OfficePayDescription OfficePayDescription) {
        this.OfficePayDescription = OfficePayDescription;
    }


    public static class Alipay {
        private String name;
        private int is_selected;
        private List<Info> info = null;

        public int getIs_selected() {
            return is_selected;
        }

        public void setIs_selected(int is_selected) {
            this.is_selected = is_selected;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<Info> getInfo() {
            return info;
        }

        public void setInfo(List<Info> info) {
            this.info = info;
        }
    }

    public static class Bankcard {
        private String name;
        private int is_selected;
        private List<Info> info = null;

        public int getIs_selected() {
            return is_selected;
        }

        public void setIs_selected(int is_selected) {
            this.is_selected = is_selected;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<Info> getInfo() {
            return info;
        }

        public void setInfo(List<Info> info) {
            this.info = info;
        }
    }


    public static class Info {
        private String name;
        private String value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    

    public OfflinePaymentModel.Alipay getAlipay() {
        return Alipay;
    }

    public void setAlipay(OfflinePaymentModel.Alipay alipay) {
        Alipay = alipay;
    }

    public OfflinePaymentModel.Bankcard getBankcard() {
        return Bankcard;
    }

    public void setBankcard(OfflinePaymentModel.Bankcard bankcard) {
        Bankcard = bankcard;
    }

    public static class OfficePayDescription {
        /**
         * name : 线下支付流程说明
         * url : http://dwz.cn/dob_zfbdesc
         */

        private String name;
        private String url;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
